<ion-view title="上传购车凭证">
    <ion-header-bar align-title="left" class="bar-positive">
		<button ng-click="certificate.hide()" class="button back-button buttons button-clear header-item" style="">
			<i class="icon ion-ios-arrow-back"></i> 
			<span class="back-text" style="transform: translate3d(0px, 0px, 0px);">
				<span class="default-title hide">返回</span>
				<span class="previous-title">返回</span>
			</span>
		</button>
		<h1 class="title" style="left: 0; text-align: center;">上传购车凭证</h1>
	</ion-header-bar>
	<ion-content>
		<div style="background: #fff; padding: 10px; color: #666;">
			<div class="row">
				<div class="col">
					<p>购车凭证</p>
					<div class="div-upload" style="">
						<input type="file" class="file-hook" style="display: none" 
							onchange="angular.element(this).scope().previewimag(this)" />
						<!-- 图片容器 -->
						<div class="img-idcard-wrapper" style="height: 70%;">
							<!-- 图片列表  -->
							<div class="img-list"></div>
							<!-- 上传按钮 -->
							<div class="upload-idcard-btn" style="margin-top: -130%; text-align: right; 
								border-radius: 6px; height: 100%; width: 100%;" ng-click="upload(this);">
								<button class="upload-hook"></button>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="" style="">
            <a ng-click="submitupload()" class="button button-block button-energized next" 
                style="width:80%; margin:0.4rem auto;color: #fff !important;">确定</a>
        </div>
	</ion-content>
</ion-view>
